Action Inserts information about the specified field in a table. Entries titled ‘----’ which contains the name of the field, and ‘FTYP’ which contains a numeric code indicating the field type will be created (See 4D®'s Language Reference manual)
Parameters fileno is the number of the file in your 4D database.
fieldno is the number of the field.
tableAddr is the address of an existing table to receive the information.
Returns True
Examples FourthDimension.fieldInfo(1,2,@info)
» true
Verb FourthDimension.getField
Syntax FourthDimension.getField(fileno,fieldno)
Action Returns the contents of the specified field in the current record.
Parameters fileno is the number of the file.
fieldno is the number of the field.
Returns the contents of the field. Can be text or numeric, depending on how the field is defined in 4D.
Examples FourthDimension.getField(1,1)
» Mike
Notes An error will result if no current record has been set.
Verb FourthDimension.doScript
Syntax FourthDimension.doScript(command)
Action Executes almost any 4D® command.
Parameters command is a string which should be a valid 4D command.
Action Builds an outline describing the database structure. A top-level heading will be created for each file and sub-headers will be created for each field in that file
Parameters ‘where’ is the address of an outline which will be created if necessary